package p1;

/**
 * @author fangjiaxiaobai@gmail.com
 * @date 2020-05-14
 * @since 1.0.0
 */
public class DemoTest {

    public static void main(String[] args) {
        System.out.println(Integer.numberOfLeadingZeros(1));
//        System.out.println("2:" + Integer.numberOfLeadingZeros(2));
//        System.out.println("3:" + Integer.numberOfLeadingZeros(3));
//        System.out.println("4:" + Integer.numberOfLeadingZeros(4));
//        System.out.println("8:" + Integer.numberOfLeadingZeros(8));
//        System.out.println("15:" + Integer.numberOfLeadingZeros(15));
//        System.out.println("31:" + Integer.numberOfLeadingZeros(31));
    }

}
